home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0192-Mixing C and Pascal-Oct89 < prev    next >
Encoding:
Text File  |  1989-10-27  |  771 b   |  22 lines  |  [TEXT/GEOL]

  1. Item    9092162                         27-Oct-89        06:43
  2.  
  3. From:   UK0098                          Sign Express Software
  4.  
  5. To:     MACDTS                          Macintosh Developer Tech. Supt.
  6.  
  7. cc:     MACAPP.TECH$                    MACAPP Tech
  8.  
  9. Sub:    Mixing C and Pascal in MacApp
  10.  
  11. (Using MPW 3.0, Pascal 3, C 3.0, MacApp 2.0ß5)
  12. Were trying to include an external C routine into Object Pascal code and have
  13. run into the following problem:  If we dont link StdCLib.o then we get all
  14. manner of undefined function errors from the linker (eg strcmp, strlen etc)....
  15. However if we do link StdCLib.o then we get name conflicts (duplicate symbol
  16. errors) with several Pascal functions in PasLib.o (eg fopen, fclose etc.)
  17.  
  18. Anyone know the way out?
  19. Mark Hersey
  20.  
  21.  
  22.